#ifndef RSPINTERFACE_H
#define RSPINTERFACE_H

#include <QObject>
#include "Msg/Rsp/rspbase.h"
//#include "Msg/ArrayListMsg.h"
#include "almListModel.h"
//#include <QString>

class RspInterface : public QObject
{
    Q_OBJECT
public:
     RspInterface();

    void SetRsp(const RspBase mrsp);

    Q_INVOKABLE QString get(const QString qsName);

    Q_INVOKABLE int getAlmSize(const QString qsAlmName);
    Q_INVOKABLE QString getAlmString(const QString qsAlmName, int row,int column);
//    Q_INFINITY AlmListModel* getAlmModel(const QString qsAlmName);
    Q_INVOKABLE AlmListModel* getAlmModel(const QString qsAlmName,const QString qslistName,bool bWithCheck=false);
signals:

public slots:

public:
    RspBase m_rsp;
    QMap<QString, ArrayListMsg> m_alms;
};

#endif // RSPINTERFACE_H
